package cn.darkhorse.workflow.auto.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mybatis-plus-generator
 * @since 2020-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BpmnDeptRelative implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long deptId;

    /**
     * 经理
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long relativeManager;

    /**
     * 分管领导
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long relativeInCharge;

    /**
     * 总经理
     */
    private Long relativeGeneralManager;


}
